package lab02.test35;

public  class Manager extends Employee{

    double salary;

    public Manager(){}
    public Manager(double salary){
        this.salary=salary;
    }

    @Override
    public double computerSalary() {
            return salary;

    }

    @Override
    public String toString() {
        return "姓名："+name+"\n"+"性别："+sex+"\n"+"工资："+salary;
    }
}
